
<template>
  <div class="selectClass">
    <p>Selected:{{selected}}</p>
       <iframe-select :options="options" v-model="selected">
         <option disabled value="0">Select one</option>
       </iframe-select>
  </div>
</template>
<script>
import IframeSelect from './IframeSelect.vue'
const options = []
for (let i = 0; i < 10000; i++) {
  options.push({
    id: i + 1,
    text: i
  })
}
export default {
  data() {
    return {
      options: [],
      selected: 2
    }
  },
  components: {
    IframeSelect
  },
  mounted() {
    this.options = options
  }
}
</script>